﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="register.aspx.vb" Inherits="HauntedNetworkingSite.register" %>

<%@ Register src="Banner.ascx" tagname="Banner" tagprefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Register</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <uc1:Banner ID="Banner1" runat="server" />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
    
        <asp:CreateUserWizard ID="CreateUserWizard1" runat="server" BackColor="Black" 
            BorderColor="Black" BorderStyle="Solid" BorderWidth="1px" 
            ContinueDestinationPageUrl="~/Default.aspx" Font-Names="HandelGothic" 
            Height="1em" Width="1em" CreateUserButtonText="Create Account" 
            DuplicateUserNameErrorMessage="The username that you entered is already in use. Please enter a different user name." 
            InvalidPasswordErrorMessage="Password length minimum: {0}. Non-alphanumeric characters required: {6}." 
            LoginCreatedUser="False">
            <SideBarStyle BackColor="#990000" Font-Size="0.9em" VerticalAlign="Top" />
            <SideBarButtonStyle ForeColor="White" />
            <ContinueButtonStyle BackColor="#333333" BorderColor="Red" 
                BorderStyle="OutSet" BorderWidth="1px" Font-Names="HandelGothic" 
                ForeColor="Red" />
            <NavigationButtonStyle BackColor="#333333" BorderColor="Red" 
                BorderStyle="OutSet" BorderWidth="1px" Font-Names="HandelGothic" 
                ForeColor="Red" />
            <HeaderStyle BackColor="Black" BorderColor="Black" BorderStyle="Solid" 
                BorderWidth="2px" Font-Bold="True" Font-Size="0.9em" ForeColor="Red" 
                HorizontalAlign="Center" />
            <CreateUserButtonStyle BackColor="#333333" BorderColor="Red" 
                BorderStyle="OutSet" BorderWidth="1px" Font-Names="HandelGothic" 
                ForeColor="Red" />
            <TitleTextStyle BackColor="Black" Font-Bold="True" ForeColor="Red" />
            <StartNavigationTemplate>
                <asp:Button ID="StartNextButton" runat="server" BackColor="#333333" 
                    BorderColor="Red" BorderStyle="OutSet" BorderWidth="1px" 
                    CommandName="MoveNext" Font-Names="HandelGothic" ForeColor="Red" Text="Next" />
            </StartNavigationTemplate>
            <WizardSteps>
                <asp:CreateUserWizardStep runat="server" >
                    <ContentTemplate>
                        <table border="0" 
                            style="background-color:Black;font-family:HandelGothic;font-size:100%;height:416px;width:625px;">
                            <tr>
                                <td align="center" colspan="2" 
                                    style="color:Red;background-color:Black; font-family:HandelGothic; font-weight:bold;">
                                    Sign Up for Your New Account</td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <asp:Label ID="FirstNameLabel" runat="server" Text="First Name:"></asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="FirstName" runat="server"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="FirstNameRequired" runat="server" 
                                        ControlToValidate="FirstName" ErrorMessage="First Name is required." 
                                        ToolTip="First Name is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <asp:Label ID="LastNameLabel" runat="server" Text="Last Name:"></asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="LastName" runat="server"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="LastNameRequired" runat="server" 
                                        ControlToValidate="LastName" ErrorMessage="Last Name is required." 
                                        ToolTip="Last Name is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">User 
                                    Name:</asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="UserName" runat="server"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" 
                                        ControlToValidate="UserName" ErrorMessage="User Name is required." 
                                        ToolTip="User Name is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">Password:</asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="Password" runat="server" TextMode="Password"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" 
                                        ControlToValidate="Password" ErrorMessage="Password is required." 
                                        ToolTip="Password is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <asp:Label ID="ConfirmPasswordLabel" runat="server" 
                                        AssociatedControlID="ConfirmPassword">Confirm Password:</asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="ConfirmPassword" runat="server" TextMode="Password"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="ConfirmPasswordRequired" runat="server" 
                                        ControlToValidate="ConfirmPassword" 
                                        ErrorMessage="Confirm Password is required." 
                                        ToolTip="Confirm Password is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <asp:Label ID="EmailLabel" runat="server" AssociatedControlID="Email">E-mail:</asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="Email" runat="server"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="EmailRequired" runat="server" 
                                        ControlToValidate="Email" ErrorMessage="E-mail is required." 
                                        ToolTip="E-mail is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <asp:Label ID="ConfirmEmailLabel" runat="server" 
                                    AssociatedControlID="ConfirmEmail" Text="Confirm E-mail:"></asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="ConfirmEmail" runat="server"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="ConfirmEmailRequired" runat="server" 
                                        ControlToValidate="ConfirmPassword" 
                                        ErrorMessage="Confirm E-mail is required." 
                                        ToolTip="Confirm Password is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <asp:Label ID="QuestionLabel" runat="server" AssociatedControlID="Question">Security 
                                    Question:</asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="Question" runat="server"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="QuestionRequired" runat="server" 
                                        ControlToValidate="Question" ErrorMessage="Security question is required." 
                                        ToolTip="Security question is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <asp:Label ID="AnswerLabel" runat="server" AssociatedControlID="Answer">Security 
                                    Answer:</asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="Answer" runat="server"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="AnswerRequired" runat="server" 
                                        ControlToValidate="Answer" ErrorMessage="Security answer is required." 
                                        ToolTip="Security answer is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="center" colspan="2">
                                    <asp:CompareValidator ID="PasswordCompare" runat="server" 
                                        ControlToCompare="Password" ControlToValidate="ConfirmPassword" 
                                        Display="Dynamic" 
                                        ErrorMessage="The Password and Confirmation Password must match." 
                                        ValidationGroup="CreateUserWizard1"></asp:CompareValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="center" colspan="2">
                                <asp:CompareValidator ID="EmailCompare" runat="server" 
                                        ControlToCompare="Email" ControlToValidate="ConfirmEmail" 
                                        Display="Dynamic" 
                                        ErrorMessage="The E-mail and Confirmation E-mail must match." 
                                        ValidationGroup="CreateUserWizard1"></asp:CompareValidator>
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td align="center" colspan="2" style="color:Red;">
                                    <asp:Literal ID="ErrorMessage" runat="server" EnableViewState="False"></asp:Literal>
                                </td>
                            </tr>
                        </table>
                    </ContentTemplate>
                    <CustomNavigationTemplate>
                        <table border="0" cellspacing="5" style="width:100%;height:100%;">
                            <tr align="right">
                                <td align="right" colspan="0">
                                    <asp:Button ID="StepNextButton" runat="server" BackColor="#333333" 
                                        BorderColor="Red" BorderStyle="Outset" BorderWidth="1px" CommandName="MoveNext" 
                                        Font-Names="HandelGothic" ForeColor="Red" Text="Create Account" 
                                        ValidationGroup="CreateUserWizard1" />
                                </td>
                            </tr>
                        </table>
                    </CustomNavigationTemplate>
                </asp:CreateUserWizardStep>
                <asp:CompleteWizardStep runat="server" >
                    <ContentTemplate>
                        <table border="0" 
                            
                            style="background-color:Black;font-family:HandelGothic;font-size:1em; height:150px; width:300px;" 
                            align="center" frame="void">
                            <tr>
                                <td align="left" colspan="2" 
                                    
                                    style="color:Red;background-color:Black; font-family: HandelGothic; font-weight:bold; table-layout: auto; list-style-type: none; clip: rect(auto, auto, auto, auto); position: relative;">
                                    Complete</td>
                            </tr>
                            <tr>
                                <td>
                                    Your account has been successfully created.</td>
                            </tr>
                            <tr>
                                <td align="justify" colspan="2">
                                    <asp:Button ID="ContinueButton" runat="server" BackColor="Black" 
                                        BorderColor="Red" BorderStyle="OutSet" BorderWidth="1px" 
                                        CausesValidation="False" CommandName="Continue" Font-Names="HandelGothic" 
                                        ForeColor="Red" Text="Continue" ValidationGroup="CreateUserWizard1" />
                                </td>
                            </tr>
                        </table>
                    </ContentTemplate>
                </asp:CompleteWizardStep>
            </WizardSteps>
        </asp:CreateUserWizard>
    
    </div>
    </form>
</body>
</html>
